package org.yenn.pattern.aliyun.structural.bridge.impl;

import org.yenn.pattern.aliyun.structural.bridge.DrawAPI;

/**
 * 步骤 2
 * 创建实现了 DrawAPI 接口的实体桥接实现类。
 */
public class GreenCircle implements DrawAPI {
    @Override
    public void drawCircle(int radius, int x, int y) {
        System.out.println("Drawing Circle[ color: Green, radius: "
                + radius +", x: " +x+", "+ y +"]");
    }
}
